package com.doudou.collection.orm.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @ClassName RolePermission<br>
 * @Description 角色权限关联表对应实体类<br>
 * @Author 李浩文<br>
 * @Date 2023/6/12 19:43<br>
 * @Version 1.0<br>
 */
@Data
@TableName("t_role_permission")
public class RolePermission {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer roleId;
    private String permissionId;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime updateTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime createTime;
}
